﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using nPress.Core.Interfaces;

namespace nPress.Core.Entities
{
    public class User : IIdentifiable
    {
        public virtual int Id { get; private set; } // bigint(20) unsigned NOT NULL auto_increment,
        public virtual string Login { get; set; }// varchar(60) NOT NULL default '',
        public virtual string Pass { get; set; } // varchar(64) NOT NULL default '',
        public virtual string Nicename { get; set; }// varchar(50) NOT NULL default '',
        public virtual string Email { get; set; }// varchar(100) NOT NULL default '',
        public virtual string Url { get; set; }// varchar(100) NOT NULL default '',
        public virtual DateTime Registered { get; set; }// datetime NOT NULL default '0000-00-00 00:00:00',
        public virtual string ActivationKey { get; set; }// varchar(60) NOT NULL default '',
        public virtual int Status { get; set; }// int(11) NOT NULL default '0',
        public virtual string DisplayName { get; set; }// varchar(250) NOT NULL default '',

    }
}
